package org.Image.management.ViewCofig.file;

import lombok.Getter;

import java.net.URL;

@Getter
public enum BackgroundPath {
    LonginBackground("LoginBackground", "./UI/background/LoginBackground.png");

    private final String fileName;
    private final URL fileURL;

    BackgroundPath(String fileName, String file) {
        this.fileName = fileName;
        this.fileURL = FxmlPath.class.getResource(file);
    }

    @Override
    public String toString() {
        return fileName;
    }
}
